package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipInWarehouseSpareRelation;
import cc.comac.mom.bean.ResultDev;
import cc.comac.mom.entity.EquipInWarehouseSpareRelationEntity;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipInWarehouseSpareRelationService {

	@RequestMapping(value = "/p/cs/EquipInWarehouseSpareRelationService/selectBySomeField",method = RequestMethod.POST)
	public ResultDev selectBySomeField(@RequestBody EquipInWarehouseSpareRelation equipInWarehouseSpareRelation);
	@RequestMapping(value = "/p/cs/EquipInWarehouseSpareRelationService/batchDelete",method = RequestMethod.POST)
	public ResultBean batchDelete (@RequestBody List<EquipInWarehouseSpareRelationEntity> list);
}
